package com.mybatis_plus.demo.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lbb
 * @since 2018-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HibernateSequence extends Model<HibernateSequence> {

    private static final long serialVersionUID = 1L;

    private Long nextVal;


    public static final String NEXT_VAL = "next_val";

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
